package com.hw.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 不同权限页面访问测试
 *
 * @author F1335240
 * @version 1.0
 * @date 2020/5/11 10:20
 **/
@Controller
public class ResourceController {

    @GetMapping("/publicResource")
    public String toPublicResource() {
        return "resource/public";
    }

    @GetMapping("/vipResource")
    public String toVipResource(){
        return "resource/vip";
    }
}
